package com.woniu.zhoukao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuao
 * @since 2023-02-07 09:47:31
 */
@Getter
@Setter
@TableName("t_product")
public class Product {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String productname;

    @TableField("price")
    private BigDecimal productprice;

    @TableField("imgsrc")
    private String productimgsrc;


}
